package cn.huiyunche.base.service.vo;

import cn.huiyunche.base.service.enums.DWaybillStatusEnum;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 运单详情
 *
 * @author lm
 */
public class DWaybillVo implements Serializable {

    private static final long serialVersionUID = -4020524736468180183L;

    private Long id;
    private String orderCode; // 中联TMS订单编号
    private Integer waybillStatus; // 运单状态
    private String waybillStatusText; // 运单状态描述
    private String departureProvince; // 发车省
    private String departureCity; // 发车市
    private String destProvince; // 送达省
    private String destCity; // 送达市
    private BigDecimal confirmTotalCost; // 运单价格//合计费用
    private BigDecimal totalShippingCost; // 运单价格//合计费用
    private BigDecimal totalFuelCost; // 运单价格//合计费用
    private BigDecimal firstFuelTotal; // 运单价格//合计费用
    private BigDecimal distance; // 里程数
    private Date outSetTime;
    private String realName;
    private String phone;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Integer getWaybillStatus() {
        return waybillStatus;
    }

    public void setWaybillStatus(Integer waybillStatus) {
        this.waybillStatus = waybillStatus;
    }

    public String getWaybillStatusText() {
        return waybillStatus == null ? "" : DWaybillStatusEnum.getByValue(waybillStatus).getText();
    }

    public void setWaybillStatusText(String waybillStatusText) {
        this.waybillStatusText = waybillStatusText;
    }

    public String getDepartureProvince() {
        return departureProvince;
    }

    public void setDepartureProvince(String departureProvince) {
        this.departureProvince = departureProvince;
    }

    public String getDepartureCity() {
        return departureCity;
    }

    public void setDepartureCity(String departureCity) {
        this.departureCity = departureCity;
    }

    public String getDestProvince() {
        return destProvince;
    }

    public void setDestProvince(String destProvince) {
        this.destProvince = destProvince;
    }

    public String getDestCity() {
        return destCity;
    }

    public void setDestCity(String destCity) {
        this.destCity = destCity;
    }

    public BigDecimal getConfirmTotalCost() {
        return confirmTotalCost;
    }

    public void setConfirmTotalCost(BigDecimal confirmTotalCost) {
        this.confirmTotalCost = confirmTotalCost;
    }

    public BigDecimal getTotalShippingCost() {
        return totalShippingCost;
    }

    public void setTotalShippingCost(BigDecimal totalShippingCost) {
        this.totalShippingCost = totalShippingCost;
    }

    public BigDecimal getTotalFuelCost() {
        return totalFuelCost;
    }

    public void setTotalFuelCost(BigDecimal totalFuelCost) {
        this.totalFuelCost = totalFuelCost;
    }

    public BigDecimal getFirstFuelTotal() {
        return firstFuelTotal;
    }

    public void setFirstFuelTotal(BigDecimal firstFuelTotal) {
        this.firstFuelTotal = firstFuelTotal;
    }

    public BigDecimal getDistance() {
        return distance;
    }

    public void setDistance(BigDecimal distance) {
        this.distance = distance;
    }

    public Date getOutSetTime() {
        return outSetTime;
    }

    public void setOutSetTime(Date outSetTime) {
        this.outSetTime = outSetTime;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "DWaybillVo [id=" + id + ", orderCode=" + orderCode + ", waybillStatus=" + waybillStatus
                + ", waybillStatusText=" + waybillStatusText + ", departureProvince=" + departureProvince
                + ", departureCity=" + departureCity + ", destProvince=" + destProvince + ", destCity=" + destCity
                + ", confirmTotalCost=" + confirmTotalCost + ", totalShippingCost=" + totalShippingCost
                + ", totalFuelCost=" + totalFuelCost + ", firstFuelTotal=" + firstFuelTotal + ", distance=" + distance
                + ", outSetTime=" + outSetTime + ", realName=" + realName + ", phone=" + phone + "]";
    }

}
